﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _10_RemotingSharedAssembly
{
    public interface IServerInterface
    {
        int AddRequest(ServerRequest rq);
        ServerRequest GetRequest(int rq_id);

        void ProcessRequest(int rq_id);
        ServerResponse GetResponse(int rq_id);
    }

    [Serializable]
    public class ServerRequest
    {
        public int[] Array { get; set; }
    }

    [Serializable]
    public class ServerResponse
    {
        public int[] Array { get; set; }
    }
}
